﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    public class RoyalItemRepayInfo : RecordInfo
    {
        private int repay_seq;
        private string ref_no;
        private string repay_descr;
        private Nullable<DateTime> start_date;
        private Nullable<DateTime> end_date;
        private RoyalItemRepayInfo parent;
        private RoyalItemInfo royal_item_seq;
        private MasGenderInfo gender_seq;
        private Nullable<decimal> amount;

        public RoyalItemRepayInfo()
        { 
        }
        public RoyalItemRepayInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public RoyalItemRepayInfo(int Sequence, string RefNo, string Description, Nullable<DateTime> StartDate
            , Nullable<DateTime> EndDate, string Remarks, string RecordStatus, Nullable<int> CreatedBy
            , Nullable<int> UpDatedBy)
        {
            this.Sequence = Sequence;
            this.RefNo = RefNo;
            this.Description = Description;
            this.StartDate = StartDate;
            this.EndDate = EndDate;
            this.Remarks = Remarks;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public RoyalItemRepayInfo(int Sequence, RoyalItemRepayInfo Parent, RoyalItemInfo RoyalItems
            , MasGenderInfo Gender, Nullable<decimal> Amount, string Remarks, string RecordStatus
            , Nullable<int> CreatedBy, Nullable<int> UpDatedBy)
        {
            this.Sequence = Sequence;
            this.Parent = Parent;
            this.RoyalItems = RoyalItems;
            this.Gender = Gender;
            this.Amount = Amount;
            this.Remarks = Remarks;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get { return repay_seq; }
            set { repay_seq = value; }
        }
        public string RefNo
        {
            get { return ref_no; }
            set { ref_no = value; }
        }
        public string Description
        {
            get { return repay_descr; }
            set { repay_descr = value; }
        }
        public Nullable<DateTime> StartDate
        {
            get { return start_date; }
            set { start_date = value; }
        }
        public Nullable<DateTime> EndDate
        {
            get { return end_date; }
            set { end_date = value; }
        }
        public RoyalItemRepayInfo Parent
        {
            get { return parent; }
            set { parent = value; }
        }
        public RoyalItemInfo RoyalItems
        {
            get { return royal_item_seq; }
            set { royal_item_seq = value; }
        }
        public MasGenderInfo Gender
        {
            get { return gender_seq; }
            set { gender_seq = value; }
        }
        public Nullable<decimal> Amount
        {
            get { return amount; }
            set { amount = value; }
        }

    }
}
